package com.springboot.mapper;

import com.springboot.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.Mapping;

import java.util.List;

@Mapper
@Component(value = "userDao")
public interface UserDao {


    int insert(User record);

    List<User> selectUsers();
}